create Custom Event
Creates and returns a new CustomEvent object with the given eventType
and params
.
Since
8.0.0
Parameters
event Type
an EventType object representing a type of a DOM event supported by engine
params
an CustomEventParams object representing DOM event properties (e.g. bubbles, cancellable) as well as event's payload.
Throws
when the document is closed